using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication4
{
    class Ventana
    {
        public void OnClick(int x,int y)
        {
            if (x < 20 && y < 30) Console.WriteLine("Click en la ventana");
        }
    }
}
